package com.ruoyi.contract.pojo;


import java.io.Serializable;
import java.util.Date;


/**
 * 
 * @TableName contract
 */


public class Contract implements Serializable {
    /**
     * id
     */

    private Integer cid;

    /**
     * 合同标题
     */
    private String headline;

    /**
     * 甲方姓名/放款人
     */
    private String firstparty;

    /**
     * 乙方名称/借款人
     */
    private String secondparty;

    /**
     * 借款金额
     */
    private Long money;

    /**
     * 还款类型
     */
    private Integer rid;

    /**
     * 利率
     */
    private Long interestrate;

    /**
     * 借款时间
     */
    private Date borrowtime;

    /**
     * 还款时长
     */
    private Date returnduration;

    /**
     * 总还款金额
     */
    private Long inallmoney;

    /**
     * 每月还款金额
     */
    private Long monthmoney;

    /**
     * 额外条款
     */
    private String extra;

    /**
     * 甲方身份证号
     */
    private  String firstPartyIdentityCard;

    /**
     * 乙方身份证号
     */
    private  String secondPartyIdentityCard;


    private static final long serialVersionUID = 1L;


    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getHeadline() {
        return headline;
    }

    public void setHeadline(String headline) {
        this.headline = headline;
    }

    public String getFirstparty() {
        return firstparty;
    }

    public void setFirstparty(String firstparty) {
        this.firstparty = firstparty;
    }

    public String getSecondparty() {
        return secondparty;
    }

    public void setSecondparty(String secondparty) {
        this.secondparty = secondparty;
    }

    public Long getMoney() {
        return money;
    }

    public void setMoney(Long money) {
        this.money = money;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public Long getInterestrate() {
        return interestrate;
    }

    public void setInterestrate(Long interestrate) {
        this.interestrate = interestrate;
    }

    public Date getBorrowtime() {
        return borrowtime;
    }

    public void setBorrowtime(Date borrowtime) {
        this.borrowtime = borrowtime;
    }

    public Date getReturnduration() {
        return returnduration;
    }

    public void setReturnduration(Date returnduration) {
        this.returnduration = returnduration;
    }

    public Long getInallmoney() {
        return inallmoney;
    }

    public void setInallmoney(Long inallmoney) {
        this.inallmoney = inallmoney;
    }

    public Long getMonthmoney() {
        return monthmoney;
    }

    public void setMonthmoney(Long monthmoney) {
        this.monthmoney = monthmoney;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    public String getFirstPartyIdentityCard() {
        return firstPartyIdentityCard;
    }

    public void setFirstPartyIdentityCard(String firstPartyIdentityCard) {
        this.firstPartyIdentityCard = firstPartyIdentityCard;
    }

    public String getSecondPartyIdentityCard() {
        return secondPartyIdentityCard;
    }

    public void setSecondPartyIdentityCard(String secondPartyIdentityCard) {
        this.secondPartyIdentityCard = secondPartyIdentityCard;
    }

    public Contract() {
    }

    public Contract(Integer cid, String headline, String firstparty, String secondparty, Long money, Integer rid, Long interestrate, Date borrowtime, Date returnduration, Long inallmoney, Long monthmoney, String extra, String firstPartyIdentityCard, String secondPartyIdentityCard) {
        this.cid = cid;
        this.headline = headline;
        this.firstparty = firstparty;
        this.secondparty = secondparty;
        this.money = money;
        this.rid = rid;
        this.interestrate = interestrate;
        this.borrowtime = borrowtime;
        this.returnduration = returnduration;
        this.inallmoney = inallmoney;
        this.monthmoney = monthmoney;
        this.extra = extra;
        this.firstPartyIdentityCard = firstPartyIdentityCard;
        this.secondPartyIdentityCard = secondPartyIdentityCard;
    }
}